package com.topvision.jack.uploadlibrary.presenter;

import com.topvision.jack.uploadlibrary.entity.UploadFileEntity;
import com.topvision.jack.uploadlibrary.task.UploadTaskListener;

/**
 * Created by gushenjie on 17/12/24.
 */

public interface IUploadPresenter {
    //上传视频
    void upload(String baseApiUrl, UploadFileEntity uploadFileEntity, UploadTaskListener uploadTaskListener);

    void uploadTasks(String baseApiUrl,UploadTaskListener uploadTaskListener);

    void pauseTasks();

    void registerNetWorkListener(String baseApi, UploadTaskListener uploadTaskListener);

    void unRegisterNetWorkListener();
}
